#ifndef __COLOR_H
#define __COLOR_H
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<iostream>
#include<string>

using namespace std;

/*
	0 reset 
	1 hightlight/bold
	2 lowlight
	4 underline
	5 blingbling
	7 reverse
	8 hiden
frontland
	30 black
	31 red
	32 green
	33 yellow
	34 blue
	35 pinkred
	36 blackblue
backland
	40 black
	41 red
	42 green
	43 yellow
	44 blue
	45 pinkred
	46 blackblue
*/
#define STR_LINE 256

#define COLOR_RED "\033[31m"
#define COLOR_GREEN "\033[32m"
#define COLOR_YELLOW "\033[33m"
#define COLOR_BLUE "\033[34m"

#define COLOR_NONE "\033[0m"

class ColorPrint
{
public:
	static void printRed(string str)
	{
		str = COLOR_RED + str + COLOR_NONE;
		printf("%s", str.c_str());
	}
	static void printGreen(string str)
	{
		str = COLOR_GREEN + str + COLOR_NONE;
		printf("%s", str.c_str());
	}
	static void printYellow(string str)
	{
		str = COLOR_YELLOW + str + COLOR_NONE;
		printf("%s", str.c_str());
	}
	static void printBlue(string str)
	{
		str = COLOR_BLUE + str + COLOR_NONE;
		printf("%s", str.c_str());
	}

};

/*
int main(void)
{
	printRed("Hello");
	return 0;
}
*/

#endif

